package com.droidnetrun.main;

import java.io.File;

import android.app.Activity;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;

public class LoadApk1Activity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
	}

	public void onClick(View v) {
		Environment.getExternalStorageDirectory();
		final String URL = "http://10.100.152.111:8899/list.txt";
//		final String BASEPATH = new File(Environment.getExternalStorageDirectory(), ".TestDemo").getAbsolutePath();
		PluginManager pm = new PluginManager(this, URL);
		pm.loadAllPlugin();
	}
}